package cqg.processor;

import java.io.IOException;

import cqg.CqgReport;

/**
 * Process code analysis reports to generate a report with a summary of the code
 *  quality faults found. 
 * <br><br>
 * @author Julio César Pérez Arques
 */
public interface Processor {
	
	/**
	 * Process the report for the indicated path
	 * @param reportPath
	 * @return
	 * @throws IOException
	 */
	CqgReport process(String reportPath) throws IOException;
	
	/**
	 * Returns the root element name of the xml code analysis report
	 * @return
	 */
	String getRootElementName();

}
